package com.spsy.api.pay;

import com.spsy.common.core.constant.ServiceNameConstants;
import com.spsy.common.core.domain.R;
import com.spsy.vo.AddOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "payApi" ,value = ServiceNameConstants.SPSY_PAY)
public interface PayApi {

    @PostMapping("ALhjljdfalshdfklhsakedfjkjbawjfna/iehowarklwahejklqdkfsbklwjdsn/qwoeirojkdsmcxm/23U412394129U34/")
    R createOrder(@RequestBody AddOrderVo addOrderVo)throws Exception;
}